package com.boyan.auth.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.models.security.SecurityScheme;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "用户视图对象")
public class UserVO {

    @Schema(description="id")
    private Long id;

    @Schema(description="用户名")
    private String username;

    @Schema(description="姓名")
    private String name;


    @Schema(description="使用状态(1正常，2停用)")
    private Integer status;

    @Schema(description="手机号")
    private String phone;

    @Schema(description="详细信息，JSON风格")
    private String info;

    @TableField("balance")
    private BigDecimal balance;


}
